package com.etfbl.net.dto;

/**
 *
 * @author abosancic
 * @date Jul-29-2013
 */ 

public class Drzava implements DrzavaImpl {

    private java.lang.Integer iddrzave;

    private java.lang.String naziv;

    public Drzava() {
    }

    @Override
    public java.lang.Integer getIddrzave() {
        return this.iddrzave;
    }

    @Override
    public void setIddrzave(java.lang.Integer iddrzave){
        this.iddrzave = iddrzave;
    }

    @Override
    public java.lang.String getNaziv() {
        return this.naziv;
    }

    @Override
    public void setNaziv(java.lang.String naziv){
        this.naziv = naziv;
    }

    @Override
    public String toString() {
        return "Drzava{" + "iddrzave=" + iddrzave + ", " + "naziv=" + naziv + "}";
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += java.util.Objects.hashCode(iddrzave);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Drzava)){
            return false;
        }
        Drzava other = (Drzava) object;
        if (!java.util.Objects.equals(this.iddrzave, other.iddrzave)) {
            return false;
        }
        return true;
    }

}
